const removeRepeateArray = (array) => {
  var hash = {}
  array = array.reduce(function (item, next) {
    hash[next.productName] ? '' : hash[next.productName] = true && item.push(next)
    return item
  }, [])
  return array
}
export default removeRepeateArray
